package com.lgkj.zhm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 刷卡记录对象 Swiping_Card_Time
 *
 * @author 代星登
 * @date 2021-02-25
 */



public class SwipingCardTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 身份证号 */

    private String identityNumber;

    /** 健康码 */

    private String healthCode;

    /** 是否通行 */

    private String isPass;

    /** 刷卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date swipingCardTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIdentityNumber(String identityNumber)
    {
        this.identityNumber = identityNumber;
    }

    public String getIdentityNumber()
    {
        return identityNumber;
    }
    public void setHealthCode(String healthCode)
    {
        this.healthCode = healthCode;
    }

    public String getHealthCode()
    {
        return healthCode;
    }
    public void setIsPass(String isPass)
    {
        this.isPass = isPass;
    }

    public String getIsPass()
    {
        return isPass;
    }
    public void setSwipingCardTime(Date swipingCardTime)
    {
        this.swipingCardTime = swipingCardTime;
    }

    public Date getSwipingCardTime()
    {
        return swipingCardTime;
    }




    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("identityNumber", getIdentityNumber())
            .append("healthCode", getHealthCode())
            .append("isPass", getIsPass())
            .append("swipingCardTime", getSwipingCardTime())
            .toString();
    }


}
